<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li id="fat-menu" class="dropdown">
                <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="icon-user"></i>设置
                    <i class="icon-caret-down"></i>
                </a>

                <ul class="dropdown-menu">
                    <php>
                        if(check_auth('User/change_password')) echo '<li><a tabindex="-1" href="'.U('user/change_password').'">修改密码</a></li>';
                    </php>
                    
                    <li><a tabindex="-1" href="{:U('index/out')}">退出登录</a></li>
                </ul>
            </li>

        </ul>
        <a class="brand" href="{:U('/main')}"><span class="second">管理系统</span></a>
    </div>
</div>